package com.hdoit.ares.web.cust.modelconfig;

import com.hdoit.ares.web.cust.providers.ApproveStateProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class AutonymApproveSearchConfig extends ModelMetadataAttributeConfiguration{

	public AutonymApproveSearchConfig(){
        this.setProperty("userIdentity")
            .hasAttribute(new DisplayNameAttribute("客户编码"));
       
        this.setProperty("custRealName")
            .hasAttribute(new DisplayNameAttribute("真实姓名"));
        
        this.setProperty("custIDCard")
            .hasAttribute(new DisplayNameAttribute("身份证号"));

        this.setProperty("autonymStatus")
            .hasAttribute(new DisplayNameAttribute("处理状态"))
            .hasAttribute(new DropDownListAttribute(new ApproveStateProvider("senior")));


    }
}
